from playwright.sync_api import sync_playwright
import time


with sync_playwright() as p3:
    browser = p3.chromium.launch(headless=False)
    context = browser.new_context()
    page = context.new_page()

    page.goto("http://www.baidu.com")
    # time.sleep(10)


p2 = sync_playwright().start()
browser = p2.chromium.launch(headless=False)
context = browser.new_context()
page = context.new_page()

page.goto("http://www.baidu.com")
# time.sleep(10)